<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Cache-Control" content="No-Cache">
	<meta http-equiv="Pragma" content="No-Cache">

	<title>운세의 신</title>

	<link rel="stylesheet" type="text/css" href="/css/main.css">
	<link rel="stylesheet" type="text/css" href="/css/common.css">
	
	<!--메인슬라이드-->
	<style type="text/css">
		.clsBannerScreen {overflow: hidden;position:relative; height:317px; width:667px; border:0px solid #e1e1e1; cursor:pointer; clear:both; }
		.clsBannerScreen .images{position:absolute; display:none; }
		ul, li {list-style:none; margin:0; padding:0; font-size:10pt; }
		.clsBannerButton {width:667px; cursor:pointer; border-bottom:0px solid #e1e1e1; position:absolute; bottom:10px; }
		.clsBannerButton li {width:22px;float:left;border-right:0px solid #e1e1e1;padding:2px;}
		.clsBannerButton li.fir {border-left:0px solid #e1e1e1;}
		.clsBannerButton li.labelOverClass {font-weight:bold;}
	</style>

	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script src="/js/lib/jquery.banner.js" type="text/javascript"></script>
	<script src="/js/utility/common_util.js" type="text/javascript"></script>
	<script type="text/javascript">
		// 메인 슬라이드
		$(function() {
			$("#image_list_2").jQBanner({
				nWidth:667,
				nHeight:317,
				nCount:5,			//돌아갈 이미지 개수
				isActType:"up",	//움직일 방향 (left, right, up, down)
				nOrderNo:1,
				isStartAct:"N",
				isStartDelay:"Y",
				nDelay:5000,
				isBtnType:"img"
			});
		});
		
		$(document).ready(function() {
			
			// $(function(){
				// // 인터넷 익스플로러 8.0 미만이면
				// // alert("browser.ver="+$.browser.version);
				// if ($.browser.msie && parseInt($.browser.version,10) < 8) {
					// if (confirm('브라우저의 버전이 낮아 제대로 작동하지 않을 수도 있습니다.\n최신 브라우저를 설치하시겠습니까?')){
						// window.open('http://www.ie9.com/','','');
					// }
				// }
			// });
			
			//--------------------------------------------
			// 오늘 태어난 스타 슬라이드
			//--------------------------------------------
			
			var starDiv = $(".slide div");
			starDiv.hide();
			starDiv.eq(0).show();

			var cur_idx  = 0;
			var last_idx = starDiv.length-1;
			
			$(".slide .next").click(function() {
				starDiv.hide();
				if (cur_idx < last_idx) {
					cur_idx++;
				} else {
					cur_idx = 0;
				}
				starDiv.eq(cur_idx).show(600);
				//alert("cur_idx:"+cur_idx);
			});
			
			$(".slide .pre").click(function() {
				starDiv.hide();
				if (cur_idx > 0) {
					cur_idx--;
				} else {
					cur_idx = last_idx;
				}
				starDiv.eq(cur_idx).show(600);
			});

			//--------------------------------------------
			// 스타 검색
			//--------------------------------------------
			
			var msg = '스타이름을 입력하세요.';
			$("#search_keyword").val(msg);
			$("#search_keyword").bind({
				focus: function() {
					if( $(this).val() == msg ) {
						$(this).val('');
					}
				},
				blur: function() {
					if( $(this).val() == '') {
						$(this).val(msg);
					}
				}
			});
			
			$("#frm_search").submit(function() {
				var keyword = $("#search_keyword").val();
				if (keyword == '' || keyword == msg) {
					alert('스타이름을 입력하세요.');
					$("#search_keyword").focus();
					return false;
				}
			});

			// 추천 스타이름 클릭시
			$(".bn_s li a").each(function(index) {
				// alert($(this).text());
				$(this).click(function() {
					$("#search_keyword").val($(this).text());
					$("#frm_search").submit();
				});
			});
			
			$("#frm_today").submit(function() {
				var user_name = $("#frm_today input:text[name=user_name]");
				var birth_hh = $("#frm_today select[name=birth_hh]");
				if (user_name.val() == '') {
					alert('이름을 입력하세요.');
					user_name.focus();
					return false;
				} else if (birth_hh.val() == '') {
					alert('태어난 시각을 입력하세요.');
					birth_hh.focus();
					return false;
				}
			});
<?	if ($sess_userinfo['login_yn'] == 'N') : ?>
			$(function(){
				var user_id = getCookie('saveId');
				//alert('user_id='+user_id);
				if (user_id != '') {
					$("#cookieSaveId").attr('checked','checked');
					$("#frm_login #user_id").val(user_id);
				}
			});

			$("#frm_login").submit(function() {
				if ($("#cookieSaveId:checked").length == 1) {
					setCookie('saveId', $("#frm_login #user_id").val(), 100);
				} else {
					setCookie('saveId', '', 100);
				}
			});
<?	endif ?>

			if ($("#vip_receive_yn").val() == 'Y') {
				openPopup('/product/receive_vip',460,300);
			}
		});
		
<?	if ($sess_userinfo['login_yn'] == 'Y') : ?>
		function result(idx, user_name, sex, birth_yyyy, birth_mm, birth_dd) {
			//alert(user_name+','+sex+','+birth_yyyy+','+birth_mm+','+birth_dd);
			$("#frm_starbirth #idx").val(idx);
			$("#frm_starbirth #user_name").val(user_name);
			$("#frm_starbirth #sex").val(sex);
			$("#frm_starbirth #birth_yyyy").val(birth_yyyy);
			$("#frm_starbirth #birth_mm").val(birth_mm);
			$("#frm_starbirth #birth_dd").val(birth_dd);
			$("#frm_starbirth").submit();
		}

		// 스타 궁합 페이지로 이동
		function gunghap(idx, your_name, your_sex, your_birth_yyyy, your_birth_mm, your_birth_dd) {
			$("#frm_gunghap #artist_idx").val(idx);
			$("#frm_gunghap #your_name").val(your_name);
			$("#frm_gunghap #your_sex").val(your_sex);
			$("#frm_gunghap #your_birth_yyyy").val(your_birth_yyyy);
			$("#frm_gunghap #your_birth_mm").val(your_birth_mm);
			$("#frm_gunghap #your_birth_dd").val(your_birth_dd);
			$("#frm_gunghap").submit();
		}
<?	else : ?>
		function result(idx, user_name, sex, birth_yyyy, birth_mm, birth_dd) {
			alert('회원가입 후 이용가능합니다.');
			location.href = '/member/join';
		}

		// 스타 궁합 페이지로 이동
		function gunghap(your_name, your_sex, your_birth_yyyy, your_birth_mm, your_birth_dd) {
			alert('회원가입 후 이용가능합니다.');
			location.href = '/member/join';
		}
<?	endif ?>

	</script>

</head>
<body>
<form name="frm_starbirth" id="frm_starbirth" method="post" action="/unse/star/todaybirth/result">
	<input type="hidden" name="target_yyyy" id="target_yyyy" value="<?=date("Y",time());?>"  />
	<input type="hidden" name="idx" id="idx" value="" />
	<input type="hidden" name="user_name" id="user_name" value="" />
	<input type="hidden" name="sex" id="sex" />
	<input type="hidden" name="birth_yyyy" id="birth_yyyy" />
	<input type="hidden" name="birth_mm" id="birth_mm" />
	<input type="hidden" name="birth_dd" id="birth_dd" />
	<input type="hidden" name="birth_hh" id="birth_hh" value="0" />
	<input type="hidden" name="birth_solunar" id="birth_solunar" value="S_C" />
</form>
<form name="frm_gunghap" id="frm_gunghap" method="post" action="/unse/star/gunghap/form">
	<input type="hidden" name="artist_idx" id="artist_idx" />
	<input type="hidden" name="your_name" id="your_name" />
	<input type="hidden" name="your_sex" id="your_sex" />
	<input type="hidden" name="your_birth_yyyy" id="your_birth_yyyy" />
	<input type="hidden" name="your_birth_mm" id="your_birth_mm" />
	<input type="hidden" name="your_birth_dd" id="your_birth_dd" />
</form>

<input type="hidden" name="vip_receive_yn" id="vip_receive_yn" value="<?=$vip_receive_yn?>" />

<div id="wrap">
	<!-- Header -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_header.php'; ?>
	<!--// Header -->

	<!--커튼 데코레이션-->
	<div class="drapes">
		<p class="drap1"><img src="/images/main/drapes.png" /></p>
		<div class="drap2">
			<div class="ss_bn">
				<ul>
					<li><script language="javascript" src="http://ad1.sportschosun.com/js.kti/szo/unsin@scroll3"></script></li>
					<li><script language="javascript" src="http://ad1.sportschosun.com/js.kti/szo/unsin@scroll1"></script></li>
					<li><script language="javascript" src="http://ad1.sportschosun.com/js.kti/szo/unsin@scroll2"></script></li>
				</ul>
			</div>
			<p><img src="/images/main/drapes.png" /></p>
		</div>
	</div>
	<!--//커튼 데코레이션-->
	<!-- 키비쥬얼배너 / 로그인박스 / 오늘의 운세 -->
	<div class="keybox">
		
		<div class="kcont">
		<!--키비주얼배너-->
		<div class="banner">
				<div id="image_list_2">
					<div class="clsBannerScreen">
						<div class="images" style="display:block"><a href="/unse/star/total/main"><img src="/images/main/key_v01.png" /></a></div>
						<div class="images"><a href="/unse/money/mymoney/form"><img src="/images/main/key_v02.png" /></a></div>
						<div class="images"><a href="/unse/gunghap/main"><img src="/images/main/key_v03.png" /></a></div>
						<div class="images"><a href="/bbs/event/read?search_type=&search_keyword=&page=&idx=207"><img src="/images/main/key_v04.png" /></a></div>
						<div class="images"><a href="/product/package"><img src="/images/main/key_v05.png" /></a></div>
					</div>
				
					<ul class="clsBannerButton" id="label_2">
						<li><img src="images/main/bul_bn_on.gif" oversrc="images/main/bul_bn_on.gif" outsrc="images/main/bul_bn.gif" /></li>
						<li><img src="images/main/bul_bn.gif" oversrc="images/main/bul_bn_on.gif" outsrc="images/main/bul_bn.gif" /></li>
						<li><img src="images/main/bul_bn.gif" oversrc="images/main/bul_bn_on.gif" outsrc="images/main/bul_bn.gif" /></li>
						<li><img src="images/main/bul_bn.gif" oversrc="images/main/bul_bn_on.gif" outsrc="images/main/bul_bn.gif" /></li>
						<li><img src="images/main/bul_bn.gif" oversrc="images/main/bul_bn_on.gif" outsrc="images/main/bul_bn.gif" /></li>
					</ul>
				</div>
			</div>
		
		<!--//키비주얼배너-->
	   
			
			
			<div class="w_lg">
				<?	if ($sess_userinfo['login_yn'] == 'N') : ?>
				<!--로그아웃박스-->
				<div class="logoutBox">
					<form method="post" name="frm_login" id="frm_login" action="<?=SSL_ROOT_URL?>/member/login/check?return_url=/main">
						<fieldset >
							<span class="ibg1"><input type="text" name="user_id" id="user_id" ></span>
							<span class="ibg2"><input type="password" name="pwd" id="pwd" /></span>
							<button title="검색" type="submit"></button>
						</fieldset>
					</form>
					<p class="member"><input type="checkbox" name="cookieSaveId" id="cookieSaveId" value="Y" class="input_check" /> <label for="cookieSaveId">ID 저장</label> <Em>|</Em> <a href="/member/join"><strong>운신 회원가입</strong></a> <Em>|</Em> <a href="/member/login/find">ID / PW 찾기</a> </p>
				</div>
				<!--//로그아웃박스-->
				<?	else : ?>
				<!--로그인박스-->
				<div class="loginBox">
					<dl>
						<img src="<?=$member['member_img_url']?>" class="img" />
						<dt><img src="/images/common/grade_<?=$member['class_name'] == 'VIP회원' ? '1' : '2'?>.jpg" /></dt>
						<dd><strong><?=$member['nickname']?></strong>님<br/>방문해 주셔서 감사합니다 </dd>
					</dl>
					<ul>
						<li><a href="/mypage/mypage">마이페이지</a></li>
						<li>|</li>
						<li><a href="/mypage/service_history">내가본운세</a></li>
						<li>|</li>
						<li><a href="/member/login/logout">로그아웃</a></li>
					</ul>
				</div>
				<!--//로그인박스-->
				<?	endif ?>				
				
				<!--오늘의 운세-->
				<div class="today">
					<h3><img src="/images/main/tit_today.gif" alt="오늘의 운세"></h3>
<?
	if ($sess_userinfo['login_yn'] == 'Y') {
		$action_url = '/unse/free/today/result';
	} else {
		$action_url = '/unse/free/todaypreview/result';
	}
?>
					<form id="frm_today" method="post" action="<?=$action_url?>">
						<input type="hidden" name="target_yyyy" id="target_yyyy" readonly="readonly" value="<?=date("Y",time());?>" />
						<div class="form">
							<p>
								<strong>이름</strong><input name="user_name" type="text" value="<?=$sess_userinfo['login_yn'] == 'Y' ? $member['user_name'] : ''?>" class="inpText" />
								<select name="sex" id="sex" class="input_select">
									<option value="남" <?=$member['sex'] == 'M' ? 'selected="selected"' : ''?>>남자</option>
									<option value="여" <?=$member['sex'] == 'F' ? 'selected="selected"' : ''?>>여자</option>
								</select>
							</p>
							<p>
								<select name="birth_yyyy" id="birth_yyyy" class="input_select">
<?	for ($year = 1930; $year <= 2012; $year++) : ?>
									<option value="<?=$year?>" <?=$member['birth_yyyy'] == $year ? 'selected="selected"' : '';?>><?=$year?></option>
<?	endfor ?>
								</select> 년
								<select name="birth_mm" id="birth_mm" class="input_select">
<?	for ($month = 1; $month <= 12; $month++) : ?>
<?		$str_month = str_pad($month, 2, '0', STR_PAD_LEFT); ?>
									<option value="<?=$str_month?>" <?=$member['birth_mm'] == $str_month ? 'selected="selected"' : '';?>><?=$month?></option>
<?	endfor ?>
								</select> 월
								<select name="birth_dd" id="birth_dd" class="input_select">
<?	for ($day = 1; $day <= 31; $day++) : ?>
<?		$str_day = str_pad($day, 2, '0', STR_PAD_LEFT); ?>
									<option value="<?=$str_day?>" <?=$member['birth_dd'] == $str_day ? 'selected="selected"' : '';?>><?=$day?></option>
<?	endfor ?>
								</select> 일
							</p>
							<p>
								<select name="birth_hh" id="birth_hh" style=" width:120px;">
									<option value="">태어난 시각</option>
									<option value="0" <?=$member['birthtime'] == '0' ? 'selected="selected"' : ''?>>모름</option>
									<option value="01" <?=$member['birthtime'] == '01' ? 'selected="selected"' : ''?>>子 (23:30 ~ 01:29)</option>
									<option value="02" <?=$member['birthtime'] == '02' ? 'selected="selected"' : ''?>>丑 (01:30 ~ 03:29)</option>
									<option value="04" <?=$member['birthtime'] == '04' ? 'selected="selected"' : ''?>>寅 (03:30 ~ 05:29)</option>
									<option value="06" <?=$member['birthtime'] == '06' ? 'selected="selected"' : ''?>>卯 (05:30 ~ 07:29)</option>
									<option value="08" <?=$member['birthtime'] == '08' ? 'selected="selected"' : ''?>>辰 (07:30 ~ 09:29)</option>
									<option value="10" <?=$member['birthtime'] == '10' ? 'selected="selected"' : ''?>>巳 (09:30 ~ 11:29)</option>
									<option value="12" <?=$member['birthtime'] == '12' ? 'selected="selected"' : ''?>>午 (11:30 ~ 13:29)</option>
									<option value="14" <?=$member['birthtime'] == '14' ? 'selected="selected"' : ''?>>未 (13:30 ~ 15:29)</option>
									<option value="16" <?=$member['birthtime'] == '16' ? 'selected="selected"' : ''?>>申 (15:30 ~ 17:29)</option>
									<option value="18" <?=$member['birthtime'] == '18' ? 'selected="selected"' : ''?>>酉 (17:30 ~ 19:29)</option>
									<option value="20" <?=$member['birthtime'] == '20' ? 'selected="selected"' : ''?>>戌 (19:30 ~ 21:29)</option>
									<option value="22" <?=$member['birthtime'] == '22' ? 'selected="selected"' : ''?>>亥 (21:30 ~ 23:29)</option>
								</select>
								<select name="birth_solunar" id="birth_solunar" style=" width:80px;">
									<option value="S_C" <?=$member['birth_solunar'] == 'S' && $member['cl_year'] == 'C' ? 'selected="selected"' : ''?>>양력</option>
									<option value="L_C" <?=$member['birth_solunar'] == 'L' && $member['cl_year'] == 'C' ? 'selected="selected"' : ''?>>음력(평달)</option>
									<option value="L_L" <?=$member['birth_solunar'] == 'L' && $member['cl_year'] == 'L' ? 'selected="selected"' : ''?>>음력(윤달)</option>
								</select>
							</p>
							<p class="btn"><button title="운세보기" type="submit"></button></p>
						</div>
					</form>
				</div>
				<!--//오늘의 운세-->
			</div>
		</div>
	</div>
	<!-- // 키비쥬얼배너 / 로그인박스 / 오늘의 운세 -->
	
	<!-- 스타검색 -->
	<div class="w_star">
		<div class="s_box">
			<ul class="bn_s">
				<li><a href="javascript:;">김수현</a></li>
				<li>/</li>
				<li><a href="javascript:;">김태희</a></li>
				<li>/</li>
				<li><a href="javascript:;">장동건</a></li>
			   	<li>/</li>
				<li><a href="javascript:;">한지민</a></li>
				<li>/</li>
				<li><a href="javascript:;">재범</a></li>
				<li>/</li>
				<li><a href="javascript:;">수지</a></li>
			</ul>
			<form name="frm_search" id="frm_search" method="post" action="/unse/star/total/main#search">
				<fieldset>
					<span><input type="text" name="search_keyword" id="search_keyword"></span>
					<button title="검색" type="submit" ></button>
				</fieldset>
			</form>
		</div>
	</div>
	<!--// 스타검색 -->
	
	<!--서브컨텐츠-->
	<div id="content">
		<!--왼쪽컨텐츠-->
		<div class="c_left">
			<!--실시간스타궁합점수-->
			<div class="star_cn">
				<h3><a href="/unse/star/gunghap/form"><img src="/images/main/tit_conect.gif"alt="실시간스타궁합점수"></a></h3>
				<p><img src="/images/main/stit_conect.gif" alt="스타와궁합본 사람이!" style="vertical-align:text-top;" /><span class="count"><em><?=number_format($star_gunghap_total_cnt+1400)?></em> 명</span></p>
				<ul>
<?	$num = 1; ?>
<?	foreach ($star_gunghap_result_list as $item) : ?>
					<li>
						<em><strong><?=$num++?></strong></em><span class="txt3"><?=mb_substr($item['nickname'], 0, 8, 'utf-8')?><?=mb_strlen($item['nickname']) > 8 ? '..' : ''?></span>
						<strong class="txt1"><?=mb_substr($item['artist_name'], 0, 2, 'utf-8')?>*</strong>
						<span class="txt2"><strong><?=$item['score']?></strong>점</span>
					</li>
<?	endforeach ?>
				</ul>
			</div>
			<!--//실시간스타궁합점수-->
			<!--추천테마-->
			<div class="theme">
				<h3><img src="/images/main/tit_theme.gif"alt="추천테마"></h3>
				<ul>
					<li><a href="/unse/tojung/total/form?year=2012"><img src="/images/main/theme01.png" /></a></li>
					<li><a href="/unse/adult/total/form"><img src="/images/main/theme02.png" /></a></li>
					<li><a href="/unse/saju/total/form"><img src="/images/main/theme03.png" /></a></li>
				</ul>
			</div>
			<!--//추천테마-->
			
			<!--추천느낌충만-->
			<div class="feel">
				<h3><img src="/images/main/tit_feel.gif" /></h3>
				<ul>
					<li><a href="/unse/gunghap/sintong/form"><img src="/images/common/sum/sum_8606.jpg" /></a><a href="/unse/gunghap/sintong/form" class="c5a5a5a">[궁합]신통방통</a><a href="/unse/gunghap/sintong/form" class="c959595">나의 천생연분</a></li>
					<li><a href="/unse/gunghap/style/form"><img src="/images/common/sum/sum_8605.jpg" /></a><a href="/unse/gunghap/style/form" class="c5a5a5a">[연애]내애인은</a><a href="/unse/gunghap/style/form" class="c959595">사랑의 모든것</a></li>
				</ul>
			</div>
			<!--//추천느낌충만-->
			<!--공지사항리스트_추가-->
			<div class="notice_board">
				<div class="board">
					<div class="tit">
						<h3><img src="/images/main/tit_notice.gif" /></h3>
						<span class="more"><a href="/cs/notice">더보기</a></span>
					</div>
					<ul>
<?	foreach ($notice_list as $item) : ?>
						<li><a href="/bbs/<?=$item['category']?>/read?idx=<?=$item['idx']?>"><em>[<?=$item['cate_name']?>]</em> <?=mb_substr($item['subject'],0,18-mb_strlen($item['cate_name'],'utf-8'),'utf-8')?> </a></li>
<?	endforeach ?>
					</ul>
				</div>
			</div>
			<!--//공지사항리스트_추가-->
		</div>
		<!--//왼쪽컨텐츠-->
		
		<!--중앙컨텐츠-->
		<div class="c_center">
			<!--오늘의스타-->
			<div class="today_s">
				<a href="/unse/star/todaybirth/main" class="c271568"><h3><?=date('Y.m.d',time())?></h3></a>
				<div class="slide">
					<p class="pre">이전</p>
<?	for ($i = 0; $i < count($today_artist_list); $i++) : ?>
					<div>
						<a href="/unse/star/todaybirth/main" class="img"><img src="<?=$today_artist_list[$i]['photo']?>" width="93" height="114" /></a>
						<dl>
							<dt><?=$today_artist_list[$i]['artist_name']?></dt>
							<dd><em>생년월일</em><?=$today_artist_list[$i]['birth_yyyy']?>년 <?=$today_artist_list[$i]['birth_mm']?>월 <?=$today_artist_list[$i]['birth_dd']?>일</dd>
							<dd><em>직업</em><?=$today_artist_list[$i]['job']?></dd>
							<dd><em>신체사이즈</em><?=$today_artist_list[$i]['body']?></dd>
							<dd><a href="javascript:;" onclick="result('<?=$today_artist_list[$i]['idx']?>','<?=$today_artist_list[$i]['artist_name']?>','<?=$today_artist_list[$i]['sex']?>','<?=$today_artist_list[$i]['birth_yyyy']?>','<?=$today_artist_list[$i]['birth_mm']?>','<?=$today_artist_list[$i]['birth_dd']?>');"><img src="/images/main/btn_unse.gif" alt="운세보기"></a><a href="javascript:;" onclick="gunghap('<?=$today_artist_list[$i]['idx']?>','<?=$today_artist_list[$i]['artist_name']?>','<?=$today_artist_list[$i]['sex']?>','<?=$today_artist_list[$i]['birth_yyyy']?>','<?=$today_artist_list[$i]['birth_mm']?>','<?=$today_artist_list[$i]['birth_dd']?>');"><img src="/images/main/btn_conect.gif" alt="매칭하기"></a></dd>
						</dl>
					</div>
<?	endfor ?>
					<p class="next">다음</p>
				</div>
				<div class="alist">
					<ul>
<?
	$last_idx = 3;
	$last_idx = count($today_artist_list) < $last_idx ? count($today_artist_list) : $last_idx;
?>
<?	for ($i = 1; $i < $last_idx; $i++) : ?>
						<li><img src="/images/common/icon_star/icon_<?=$today_artist_list[$i]['job_icon']?>.png" align="absmiddle"> <?=$today_artist_list[$i]['artist_name']?> <em><?=$today_artist_list[$i]['job']?></em></li>
<?	endfor ?>
					</ul>
				</div>
			</div>
			<!--//오늘의스타-->
			<!--오늘의 운세 / 실시간 운세차트-->
			<div class="ct_box">
				<!--무료운세/배너-->
				<div class="free">
					<h3><img src="/images/main/tit_free.gif" alt="무료운세 베스트3"></h3>
					<ul>
						<li><em>1</em><a href="/unse/free/today/form">오늘 나에게 무슨 일이 생길까?</a></li>
						<li><em>2</em><a href="/unse/star/todaybirth/main">오늘 태어난 스타의 운세는?</a></li>
						<li><em>3</em><a href="/unse/free/dreamsolve/result">꿈풀이로 알아보는 비밀!</a></li>
					</ul>
					<p class="job"><a href="/unse/gunghap/mylover/form"><img src="/images/main/bn_job.png" /></a></p>
				</div>
				<!--//무료운세/배너-->
				<!--실시간운세사이트-->
				<div class="time">
					<h3><img src="/images/main/tit_time.gif" alt="실시간운세차트" align="absmiddle"><!-- 5월 셋째주--></h3>
					<ul>
						<li><em>1</em><a href="/unse/star/gunghap/form"class="img"><img src="/images/main/sample3.jpg" align="absmiddle" ></a>
						<span class="txt1"><a href="/unse/star/gunghap/form">나와 스타의 <br />궁합</a> <!--<span class="txt2"><a href="/unse/star/gunghap/form">내가 좋아하는 스타와 나는?</a></span>--></span>
						<span class="rank3"><img src="/images/main/bul_up.gif" align="absmiddle"> 3</span>
						</li>
						<li><em>2</em><span class="txt3"><a href="/unse/money/mymoney/form">나의 금전궁합</a><span class="txt2"><a href="/unse/money/mymoney/form">사주으로 돈과 사랑 모두 잡는다!</a></span></span>
						<span class="rank3"><img src="/images/main/bul_up.gif" align="absmiddle"> 1</span>
						</li>
						<li><em>3</em><span class="txt3"><a href="/unse/saju/total/form">명품사주</a><span class="txt2"><a href="/unse/saju/total/form">나는 사주도 명품으로 본다!</a></span></span>
						<span class="rank2">-<!--<img src="/images/main/bul_dw.gif" /> 3--></span></li>
					</ul>
				</div>
				<!--//실시간운세사이트-->
				
			</div>
			<!--//오늘의 운세 / 실시간 운세차트-->

			<!--스타사진운세-->
			<div class="star_pt">
				<h4><a href="/bbs/starpt/list"><img src="/images/main/tit_star_pt.gif" /></a></h4>
				<ul>
<?	foreach ($starpt_list as $item) : ?>
					<li>
						<a href="/bbs/starpt/read?idx=<?=$item['idx']?>"><img src="<?=str_replace('_SIZE', '_153', $item['file'][0]['thumb_url'])?>" /></a>
						<span class="link"><a href="/bbs/starpt/read?idx=<?=$item['idx']?>"><?=$item['subject']?></a></span>
					</li>
<?	endforeach ?>
				</ul>
			</div>
			<!--//스타사진운세-->
			<!--띠별운세_추가-->
			<div class="t_zodiac">
				<h4><img src="/images/main/tit_zodiac.gif" alt="오늘의 띠별운세" /></h4>
				<ul >
					<li><a href="/unse/free/todayline/result?linenum=10#pp">쥐띠</a></li>
					<li><a href="/unse/free/todayline/result?linenum=11#pp">소띠</a></li>
					<li class="center"><a href="/unse/free/todayline/result?linenum=0#pp">범띠</a></li>
					<li class="center"><a href="/unse/free/todayline/result?linenum=1#pp">토끼띠</a></li>
					<li><a href="/unse/free/todayline/result?linenum=2#pp">용띠</a></li>
					<li class="end"><a href="/unse/free/todayline/result?linenum=3#pp">뱀띠</a></li>
					<li class="left"><a href="/unse/free/todayline/result?linenum=4#pp">말띠</a></li>
					<li><a href="/unse/free/todayline/result?linenum=5#pp">양띠</a></li>
					<li><a href="/unse/free/todayline/result?linenum=6#pp">원숭이띠</a></li>
					<li class="center"><a href="/unse/free/todayline/result?linenum=7#pp">닭띠</a></li>
					<li class="center"><a href="/unse/free/todayline/result?linenum=8#pp">개띠</a></li>
					<li class="end"><a href="/unse/free/todayline/result?linenum=9#pp">돼지띠</a></li>
				</ul>
			</div>
			<!--//띠별운세_추가-->
		</div>
		<!--//중앙컨텐츠-->
		
		<!--오른쪽 컨텐츠-->
		<div class="c_right">
			<!--2012토정비결-->
			<script language="javascript" src="http://ad1.sportschosun.com/js.kti/szo/unsin@mainbanner"></script>
			<!--//2012토정비결-->
			
			<!--금전궁합-->
			<p class="m_bn"><a href="/unse/money/gunghap/form"><img src="/images/main/bn_money.png" /></a></p>
			<!--//금전궁합-->
			
			<!--후기게시판-->
			<?php echo $INC_POSTSCRIPT_LIST ?>
			<!--//후기게시판-->
			
			<!--무료운세바로가기_추가-->
			<div class="free_total">
				<ul class="f_left">
					<li class="free01"><a href="/unse/free/today/form">오늘의운세</a></li>
					<li class="free02"><a href="/unse/free/blood/result">혈액형운세</a></li>
					<li class="free03"><a href="/unse/free/todayline/result">오늘의띠별운세</a></li>
					<li class="free04"><a href="/unse/free/bloodgunghap/form">혈액형궁합</a></li>
					<li class="free05"><a href="/unse/free/dreamsolve/result">꿈해몽태몽</a></li>
					<li class="free06"><a href="/unse/free/tarot/form">타로점성술</a></li>
					<li class="free07"><a href="/unse/free/conste/result">별자리운세</a></li>
					<li class="free08"><a href="/unse/free/birthstone/result">탄생석점</a></li>
				</ul>
			</div>
			<!--//무료운세바로가기_추가-->
		</div>
		<!--//오른쪽 컨텐츠-->
		
		<!--서비스배너-->
		<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/bn_service.php'; ?>
		<!--//서비스배너-->
	</div>
	<!--//서브컨텐츠-->
	
	<!-- Footer -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_footer.php'; ?>
	<!--// Footer -->
</div>
<!--// 컨텐츠-->
</body>
</html>